# Maintainer: Connor Behan <connor.behan@gmail.com>
# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=txt2tags
pkgver=3.8
pkgrel=2
pkgdesc='A text formatting and conversion tool.'
arch=('any')
url='http://www.txt2tags.org'
license=('GPL')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/a3/91/3522a1fbefcc02d3d496854aea81b2b01a6e388bdb27ca0be39a91a43711/$pkgname-$pkgver.tar.gz")
sha256sums=('379869e866ed85225181ac65583827781a166c907de8bb40a9f3daf7b16c3483')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir"
}
